<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function f1() {
        history.go(1);
        }
        function f2() {
            history.go(-1);
        }
    </script>
</head>
<body>
<input type="button"value="点我前进"onclick="f1()">
<input type="button"value="点我后退"onclick="f2()">
<a href="http://localhost:63342/Test01/Web/History.html">到t1</a>
<a href="http://localhost:63342/Test01/Web/History3.html">到t3</a>
</body>
</html>